#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
#include<string.h>
#include<time.h>
#include<stdlib.h>
int main()
{
		char arr[] = "zpengwei@yeah.net@666#777";
		char copy[30];
	strcpy(copy, arr);
	
	char sep[] = "@.#";
		char* ret = NULL;
	
		for (ret = strtok(copy, sep); ret != NULL; ret=strtok(NULL, sep))
		{
			printf("%s\n", ret);
		}
	
		/*char* ret = strtok(copy, sep);
		printf("%s\n", ret);
		
		ret = strtok(NULL, sep);
		printf("%s\n", ret);
	
	ret = strtok(NULL, sep);
		printf("%s\n", ret);*/
		return 0;
	}
//int main()
//{
//	char arr1[10] = "xxxxxxabc";
//	char arr2[] = "acc";
//	strcpy(arr1, arr2);
//	printf("%s", arr1);
//	return 0;
//}